
/* css 网页布局的基石 ,规定元素在网页中如何显示以及元素间的相互关系 */

body{
    background-color: #f5f5f5;
}
/* 版心居中 */
.w{
    width: 1226px;
    margin: 0 auto;
}
.wrapTopNav{
    background-color: #333;
}
.topNav{
    height: 40px;
    background-color: #333;
    color: #b0b0b0;
    font-size: 12px;
    line-height: 40px;
}
.topNav .navBar{
    float: left;
}
.topNav .navBar li{
    float: left;
}
.topNav .navBar li a{
    padding: 0 7px;
    border-left: 1px solid #3b423b;
}
.topNav .navBar .shop a{
    border-left:0;
    padding-left: 0;
}
.topNav .logBar{
    float: right;
}
.topNav .logBar .logined{
    position: relative;
    display: none;
}
.topNav .logBar .logined:hover{
    background-color: #fff;
}
.topNav .logBar .logined:hover > a{
    display: block;
    background-color: #fff;
    position: relative;
    z-index: 10000;
    border-left:1px solid transparent;
    color: #ff6700;
}
.topNav .logBar .logined:hover .subMenu{
    height: 200px;
}
.topNav .logBar .logined .subMenu{
    position:absolute;
    top: 40px;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 99999;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0,0.5);
    color: #424242;
    height: 0;
    overflow: hidden;
    transition: height 0.5s;
}
.topNav .logBar .logined .subMenu li:hover a{
    color: #ff6700;
}
.topNav .logBar > li{
    float: left;
}
.topNav .logBar >li >a{
    padding: 0 7px;
    border-left: 1px solid #3b423b;
}
.topNav .logBar .login a{
    border-left:0;
}
.topNav .logBar .shoppingCar a{
    border-left:0;
}
.topNav .logBar .shoppingCar{
    width: 120px;
    text-align: center;
    background-color: #424242;
    margin-left: 15px;
    position: relative;
}
.topNav .logBar .shoppingCar .showGoods{
    width: 300px;
    height: 0px;
    position: absolute;
    right: 0;
    top: 40px;
    color: #666;
    line-height: 100px;
    /* 阴影效果 */
    box-shadow: 0px 1px 3px rgba(0,0,0,0.5);
    height: 0;
    transition: all 0.5s;
    overflow: hidden;
    background-color: #fff;
    z-index: 999;
}
.topNav .logBar .shoppingCar:hover{
    background-color: #ff6700;
    color: #fff;
}
.topNav .logBar .shoppingCar:hover .showGoods{
    height: 100px;
}

/* wrapNav */
.wrapAll{
    position: relative;
    background-color: #fff;
}
.wrapNav{
    height: 100px;
}
.wrapNav .logo{
    width: 56px;
    height: 56px;
    margin-top: 22px;
}
.wrapNav .logo img{
    width: 100%;
}

.wrapNav .logo,.wrapNav .navBar{
    float: left;
}
.wrapNav .navBar{
    margin-left: 177px;
   
}
.wrapNav .navBar .nav>li{
    float: left;
    line-height: 100px;
    padding: 0 10px;
}

/* position:absolute; 绝对定位 如何查找参照物父元素?
   自当前元素的父元素开始,查找各种定位属性(relative,absoute,fixed),如果能找到则相对于父元素定位,否则继续向上层查找 (父代元素) 依次类推,都找不到则相对于body定位

*/
.wrapNav .navBar:hover .wrapSubNav{
    height: 235px;
   
}
.wrapNav .navBar .wrapSubNav{
    width: 100%;
    position: absolute;
    left: 0;
    top: 100px;
    height: 200px;
    background-color: #fff;
    box-shadow: 0px 1px 4px rgba(0,0,0,0.5);
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    z-index: 9999;
}
.wrapNav .navBar .wrapSubNav .sub-item>li{
    float: left;
    width: 16.66%;
    text-align: center;
}
.wrapNav .navBar .wrapSubNav .sub-item>li img{
    height: 100px;
    margin-top: 35px;
}
.wrapNav .navBar .wrapSubNav .sub-item>li .title{
    font-size: 12px;
    margin-top: 10px;
}
.wrapNav .navBar .wrapSubNav .sub-item>li .price{
    font-size: 12px;
    margin-top: 10px;
    color: #ff6700;
}

.wrapNav .searchBar{
    float: right;
    width: 296px;
    height: 50px;
    margin-top: 25px;
    position: relative;
}
.wrapNav .searchBar .searchCon{
    width: 243px;
    height: 48px;
    border: 1px solid #e0e0e0;
    outline: none;
    float: left;
    /* 首行缩进 */
    text-indent: 10px;
    transition: border-color 0.5s;
    background: none;
}

/* :focus  状态伪类选择器(css3)  => 用来表示input聚焦时的样式 */
.wrapNav .searchBar .searchCon:focus{
    border-color: #ff6700;
}

.wrapNav .searchBar .searchBtn{
    /* 元素类型转换 */
    display: block;
    width: 50px;
    height: 48px;
    text-align: center;
    line-height: 45px;
    font-size: 24px;
    border: 1px solid #e0e0e0;
    float: left;
    border-left: 0;
    transition: border-color 0.5s;
  
}
.wrapNav .searchBar .searchBtn:hover{
    background-color: #ff6700;
    color: #fff;
}
.wrapNav .searchBar .searchCon:focus + .searchBtn{
    border-color: #ff6700;
}

.searchBar .searchList{
    position: absolute;
    top: 50px;
    left: 0;
    width: 243px;
    border:1px solid #e0e0e0;
    border-top: 0;
    font-size: 12px;
    text-indent: 10px;
    line-height: 28px;
    color: #666;
    opacity: 0;
    transition: border-color 0.5s;
    background-color: #fff;
    z-index: 9999;
}

.wrapNav .searchBar .searchCon:focus + .searchBtn + .searchList{
    border-color: #ff6700;
    opacity: 1;
}

/* wrapBanner */
.wrapBanner{
    position: relative;
}
.wrapBanner .swiperBar{
    width: 1226px;
    position: relative;
    height: 460px;
}
.wrapBanner .swiperBar li{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.5s;
}
.wrapBanner .swiperBar .active{
    opacity: 1;
}
.wrapBanner .swiperBar img{
    width: 100%;
}

.wrapBanner .dotList{
    position: absolute;
    right: 30px;
    bottom: 22px;
}
.wrapBanner .dotList li{
    width: 6px;
    height: 6px;
    border:2px solid #6c6762;
    background-color: #948d88;
    border-radius: 50%;
    float: left;
    margin: 4px;
}
.wrapBanner .dotList .active{
    background-color: #2c241f;
}
.wrapBanner .slideNav{
    position: absolute;
    top: 0;
    left: 0;
    height: 460px;
    width: 234px;
    background-color: rgba(0,0,0,0.5);
}
/* > 子选择器 只选择子元素 */
.wrapBanner .slideNav > ul{
    margin-top: 20px;
}
.wrapBanner .slideNav > ul> li{
    line-height: 42px;
    text-indent: 30px;
    color: #fff;
    font-size: 14px;
}
.wrapBanner .slideNav > ul> li:hover {
    background-color: #ff6700;
}
.wrapBanner .slideNav > .nav .wrapSubNav{
    width: 992px;
    height: 460px;
    background-color: #fff;
    position: absolute;
    left: 234px;
    top: 0;
    box-shadow: 1px 2px 4px rgba(0,0,0,0.5);
    display: none;
}
.wrapBanner .slideNav > ul> li:hover .wrapSubNav{
    display: block;
}

/* wrapService */

.wrapService .service{
    width: 234px;
    background-color: #5f5750;
    color: #c2bfbd;
}

.wrapService .service li{
    float: left;
    width: 33%;
    height: 85px;
    text-align: center;
    position: relative;
}

/* 左 */
.wrapService{
    margin-top: 15px;
    
}
.wrapService .service{
    float: left;
}
.wrapService .service li::before{   
    content: "";
    height: 80%;
    width: 1px;
    background-color: #665e57;
    position: absolute;
    left: 5px;
    top: 15%;
}
/* 上 */
.wrapService .service li::after{
    content: "";
    width: 80%;
    height: 1px;
    background-color: #665e57;
    position: absolute;
    left: 15%;
    top: 5px;
}

.wrapService .service li i{
    font-size: 24px;
    display: block;
    margin-top: 22px;
}

.wrapService .service li span{
    display: block;
    font-size: 12px;
    margin-top: 8px;
}
.wrapService .adList{
    float: right;
}
.wrapService .adList a{
    float: left;
    margin-left: 14px;
}
.wrapService .adList a img{
    width: 316px;
}

.container{
    margin-bottom: 30px;
}
.wrapAd{
    margin-top: 25px;
}
.wrapAd img{
    width: 100%;
}

/* 商品展示 */
.wrapShowGoods{
    margin-top: 20px;
}
.wrapShowGoods .goodsTitle{
    line-height: 62px;
    color: #696969;
}
.wrapShowGoods .goodsTitle .title{
    float: left;
    font-size: 22px;
}
.wrapShowGoods .goodsTitle .more{
    float: right;
    font-size: 14px;
}
.wrapShowGoods .goodsTitle .more i{
    font-size: 22px;
}
.wrapShowGoods .goodsTitle .more a:hover{
    color: #ff6700;
}
.wrapShowGoods .goodsTitle .more .tab-list{
    height: 25px;
    line-height: 23px;
    font-size: 16px;
    margin-top: 20px;
}
.wrapShowGoods .goodsTitle .more .tab-list li{
    float: left;
    margin-left: 30px;
    border-bottom: 2px solid transparent;
}
.wrapShowGoods .goodsTitle .more .tab-list .active{
    color: #ff6700;
    border-color: #ff6700;
}

.wrapShowGoods .showGoods .showAd{
    width: 234px;
    float: left;
}
.wrapShowGoods .showGoods .showAd li{
    margin-bottom: 14px;
}
.wrapShowGoods .showGoods .showAd img{
    width: 100%;
}

.wrapShowGoods .showGoods .showList{
    width: 992px;
    float: right;
}
.wrapShowGoods .showGoods .showList ul{
    display: none;
}
.wrapShowGoods .showGoods .showList .show{
    display: block;
}
.wrapShowGoods .showGoods .showList li{
    width: 234px;
    height: 300px;
    text-align: center;
    background-color: #fff;
    margin-left: 14px;
    margin-bottom: 14px;
    float: left;
}
.wrapShowGoods .showGoods .showList li img{
    width: 160px;
    height: 160px;
    margin-top: 20px;
}
.wrapShowGoods .showGoods .showList li .title{
    margin-top: 20px;
    font-size: 16px;
}
.wrapShowGoods .showGoods .showList li .detail{
    margin-top:10px;
    font-size: 12px;
    color: #948d88;
}
.wrapShowGoods .showGoods .showList li .price{
    margin-top:10px;
    font-size: 13px;
    color: #948d88;
}

.wrapShowGoods .showGoods .showList li .new{
    color: #ff6700;
}

.wrapFooter{
    background-color: #fff;
}
.footer{
    min-height: 330px;
}
.footer .serviceList{
    padding: 27px 0;
    height: 25px;
    border-bottom:1px solid #e0e0e0;
}
.footer .serviceList li{
    width: 20%;
    float: left;
    text-align: center;
    line-height: 25px;
    font-size: 14px;
    /* 怪异和模型  把变宽和padding计入 width和height中 */
    box-sizing: border-box;
    
}

.footer .serviceList li+li{
    border-left: 1px solid #e0e0e0;
}

.footer .friendAConnect .friendLink{
    width: 976px;
    float: left;
}

.footer .friendAConnect{
    padding-top: 40px;
}
.footer .friendAConnect .friendLink .links{
    width: 160px;
    font-size: 12px;
    line-height: 28px;
    color: #757575;
    float: left;
}
.footer .friendAConnect .friendLink .links .title{
    line-height: 14px;
    font-size: 14px;
    color: #424242;
    margin-bottom: 23px;
}

.footer .friendAConnect .contact{
    width: 249px;
    height: 100px;
    float: right;
    text-align: center;
    border-left: 1px solid #e0e0e0;
}

/* ff6757 */

.footer .friendAConnect .contact .phone{
    color:#ff6757;
    font-size: 16px;
    line-height: 20px;
}
.footer .friendAConnect .contact .time{
    color:#616161;
    font-size: 12px;
    line-height: 30px;
}
.footer .friendAConnect .contact .person{
    width: 118px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    border: 1px solid #ff6757;
    margin: 0 auto;
    font-size: 12px;
    color: #ff6757;
}

.footer .friendAConnect .contact .guanzhu{
    font-size: 12px;
    margin-top: 10px;
    line-height: 20px;
}
.footer .friendAConnect .contact .guanzhu i{
    font-size: 20px;
    margin-left: 10px;
}

.asideNav{
    position: fixed;
    right: 0;
    top: 200px;
    border-right: 0;
    font-size: 14px;
    color: #757575;
} 
.asideNav.fixed{
    top: 50%;
    transform: translateY(-50%);
}
.asideNav li{
    width: 83px;
    height: 90px;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
}
.asideNav li:hover{
    color: #ff6700;
}
.asideNav li+li{
    border-top: 1px solid #f5f5f5;
}
.asideNav li i{
    display: block;
    margin-top: 20px;
    font-size: 25px;
}
.asideNav li span{
    display: block;
    font-size: 12px;
    margin-top: 15px;
    font: 14px/1.5 Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;
}

.asideNav .back{
    display: none;
    margin-top: 20px;
}

.shadow{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100000;
    display: none;
}
.shadow .protocol{
    width: 814px;
    height: 545px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    border: 1px solid #717171;
    
}

.shadow .protocol .protocolHeader{
    height: 60px;
    line-height: 60px;
    text-indent: 20px;
    color: #424242;
    background-color: #f5f5f5;
}
.shadow .protocol .protocolHeader .icon-close{
    float: right;
    margin-right: 20px;
}
.shadow .protocol .protocolBody{
    height: 350px;
    font-size: 12px;
    padding: 25px 45px;
}
.shadow .protocol .protocolBody span{
    color: #ff6757;
}
.shadow .protocol .protocolFooter{
    text-align: center;
    height: 79px;
    border-top:1px solid #eaeaea;
    border-bottom:1px solid #eaeaea;
    background-color: #f5f5f5;
}

.shadow .protocol .protocolFooter a{
    display: inline-block;
    vertical-align: middle;
    width: 161px;
    height: 41px;
    color: #fff;
    line-height: 41px;
    margin-top: 19px;
}
.shadow .protocol .protocolFooter .agree{
    background-color: #ff6700;
}
.shadow .protocol .protocolFooter .disagree{
    background-color: #b0b0b0;
    margin-left: 14px;
}
